package cn.wolfcode.web.service;

import cn.wolfcode.web.domain.Department;
import cn.wolfcode.web.page.PageResult;
import cn.wolfcode.web.query.QueryObject;

import java.util.List;

public interface IDepartmentService {
    void delete(Long id);

    void  save(Department department);

    Department get(Long id);

    List<Department> listAll();

    void update(Department department);
    PageResult query(QueryObject qo);
}